import request from '@/utils/request'

// 查询达人-跟进记录列表
export function listBiTalentFollowRecord(query) {
  return request({
    url: '/talent/BiTalentFollowRecord/list',
    method: 'get',
    params: query
  })
}

// 查询达人-跟进记录详细
export function getBiTalentFollowRecord(id) {
  return request({
    url: '/talent/BiTalentFollowRecord/' + id,
    method: 'get'
  })
}

// 新增达人-跟进记录
export function addBiTalentFollowRecord(data) {
  return request({
    url: '/talent/BiTalentFollowRecord',
    method: 'post',
    data: data
  })
}

// 修改达人-跟进记录
export function updateBiTalentFollowRecord(data) {
  return request({
    url: '/talent/BiTalentFollowRecord',
    method: 'put',
    data: data
  })
}

// 删除达人-跟进记录
export function delBiTalentFollowRecord(id) {
  return request({
    url: '/talent/BiTalentFollowRecord/' + id,
    method: 'delete'
  })
}
